CREATE TABLE [dbo].[TMCIAS_SEGU]
(
[CO_CIAS_SEGU] [dbo].[TD_VC_003] NOT NULL,
[NO_CIAS_SEGU] [dbo].[TD_VC_050] NULL,
[NO_DIRE_SEGU] [dbo].[TD_VC_050] NULL,
[NU_TLFN] [dbo].[TD_VC_020] NULL,
[NU_FAXE] [dbo].[TD_VC_020] NULL,
[NU_RUCS] [dbo].[TD_VC_020] NULL,
[NO_CONT_CIAS] [dbo].[TD_VC_050] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMCIAS_SE__CO_US__60A75C0F] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMCIAS_SE__FE_US__619B8048] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMCIAS_SE__CO_US__628FA481] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMCIAS_SE__FE_US__6383C8BA] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMCIAS_SEGU] ADD CONSTRAINT [PK__TMCIAS_S__5507255D7D63964E] PRIMARY KEY CLUSTERED  ([CO_CIAS_SEGU]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TMCIAS_SEGU] TO [public]
GRANT INSERT ON  [dbo].[TMCIAS_SEGU] TO [public]
GRANT DELETE ON  [dbo].[TMCIAS_SEGU] TO [public]
GRANT UPDATE ON  [dbo].[TMCIAS_SEGU] TO [public]
GO
